import Layout from '@/layout/index'

export default [
  {
    path: '/safetySupervise',
    name: 'safetySupervise',
    component: Layout,
    meta: { title: '安全监管', icon: 'menu-safetySupervise', menuId: 6, showIndex: 6 },
    children: [
      {
        path: 'securityManage',
        name: 'securityManage',
        component: () => import('@/views/safetySupervise/securityManage/index'),
        meta: { title: '安检管理', menuId: 601, showIndex: 1 }
      },
      // {
      //   path: 'noCheckSearch',
      //   name: 'noCheckSearch',
      //   component: () => import('@/views/safetySupervise/noCheckSearch/index'),
      //   meta: { title: '未安检查询', menuId: 402, showIndex: 2 }
      // },
      {
        path: 'noCheckNew',
        name: 'noCheckNew',
        component: () => import('@/views/safetySupervise/noCheckNew/index'),
        meta: { title: '未安检查询', menuId: 602, showIndex: 2 }
      },
      // {
      //   path: 'noCheckCsmSearch',
      //   name: 'noCheckCsmSearch',
      //   component: () => import('@/views/safetySupervise/noCheckCsmSearch/index'),
      //   meta: { title: '未安检客户查询', menuId: 40104, showIndex: 3 }
      // },
      // {
      //   path: 'noCheckAddressSearch',
      //   name: 'noCheckAddressSearch',
      //   component: () => import('@/views/safetySupervise/noCheckAddressSearch/index'),
      //   meta: { title: '未安检地址查询' }
      // },
      // {
      //   path: 'noCheckReason',
      //   name: 'noCheckReason',
      //   component: () => import('@/views/safetySupervise/noCheckReason/index'),
      //   meta: { title: '未执行安检原因查询', showIndex: 4 }
      // },
      {
        path: 'securityConfig',
        name: 'securityConfig',
        component: () => import('@/views/safetySupervise/securityConfig/index'),
        meta: { title: '安检配置', menuId: 603, showIndex: 3 }
      },
      // {
      //   path: 'securityPlan',
      //   name: 'securityPlan',
      //   component: () => import('@/views/safetySupervise/securityPlan/index'),
      //   meta: { title: '安检计划', menuId: 40109, showIndex: 5 }
      // },
      // {
      //   path: 'securityTaskOrder',
      //   name: 'securityTaskOrder',
      //   component: () => import('@/views/safetySupervise/securityTaskOrder/index'),
      //   meta: { title: '定期安检任务单', menuId: 40111, showIndex: 6 }
      // },
      // {
      //   path: 'securityReport',
      //   name: 'securityReport',
      //   component: () => import('@/views/safetySupervise/securityReport/index'),
      //   meta: { title: '安检报表查询', menuId: 604, showIndex: 4 }
      // },
      {
        path: 'gaspPreWarning',
        name: 'gaspPreWarning',
        component: () => import('@/views/safetySupervise/gaspPreWarning/index'),
        meta: { title: '居民订气预警', menuId: 604, showIndex: 5 }
      }
      // {
      //   path: 're-inspection',
      //   name: 're-inspection',
      //   component: () => import('@/views/safetySupervise/re-inspection/index'),
      //   meta: { title: '隐患管理' }
      // }
      // {
      //   path: 'fleeCylinderWarn',
      //   name: 'fleeCylinderWarn',
      //   component: () => import('@/views/safetySupervise/fleeCylinderWarn/index'),
      //   meta: { title: '窜瓶预警', menuId: 40205, showIndex: 7 }
      // },
      // {
      //   path: 'sleepCylinderWarn',
      //   name: 'sleepCylinderWarn',
      //   component: () => import('@/views/safetySupervise/sleepCylinderWarn/index'),
      //   meta: { title: '沉睡气瓶预警', menuId: 40203, showIndex: 8 }
      // }
    ]
  }
]
